package com.excesys.exsecs.eco.mapper;

import com.alibaba.fastjson.JSONObject;
import com.excesys.exsecs.common.data.datascope.ExsecsBaseMapper;
import com.excesys.exsecs.eco.entity.EcoCoolHourFlow;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface EcoCoolHourFlowMapper extends ExsecsBaseMapper<EcoCoolHourFlow> {

    double getSumTotalCool(@Param("date")String date);
    double getSumTotalCop(@Param("date")String date);
    List<Map<String, Object>> chartPower(@Param("startTime") String startTime, @Param("endTime") String endTime);

    List<Map<String, Object>> chartPowerCop(@Param("startTime") String startTime, @Param("endTime") String endTime);

    List<Map<String, Object>> copAnalysisListByDay(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<Map<String, Object>> copAnalysisListByMonth(@Param("startDate") String startDate,@Param("endDate") String endDate);

}
